#include "stdafx.h"
#include "udirectory.h"
#define USE_MACRO_LOG
#include "LogHelper.h"
USING_LIBSPACE
extern void test1();


void test3()
{
	
	test1();
	UDirectory::SetAppDirectory();
	system("start .");
	InitializeLogConf(_T("E:\\works\\My_cs_mtcoknjy\\cs_development\\common\\LibUtils\\logconfig.xml"));


	WriteLog(_T("shit"),LTALL,_T("12"));
	WriteLog(_T("shit"),LTALL,_T("12"));
	WriteLog(_T("shit"),LTALL,_T("12"));
	WriteLog(_T("shit"),LTALL,_T("12"));
	WriteLog(_T("shit"),LTALL,_T("12"));
	
	//WriteDetailLog(_T("test.log"),LTALL,(_T("shoe me the money")));
	WriteDetailLog(_T("warning.log"),LTALL,(_T("shoe me the moneyxxxall")));
	WriteDetailLog(_T("warning.log"),LTNone,(_T("shoe me the moneyxxx no")));
	WriteDetailLog(_T("warning.log"),LTWarning,(_T("shoe me the moneyxxx is waring ")));
	WriteDetailLog(_T("warning.log"),LTLog,(_T("shoe me the moneyxxx all")));
	
	


	
}